package com.cdgeekcamp.redas.wechat.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WeChatConfig {
    @Value("${redas.wechat.token}")
    private String token;

    @Value("${redas.wechat.appid}")
    private String appId;

    @Value("${redas.wechat.app_secret}")
    private String appSecret;

    @Value("${redas.wechat.encoding_AES_key}")
    private String encodingAESKey;

    @Value("${redas.wechat.access_token_file}")
    private String accessTokenFile;

    public String getToken() {
        return token;
    }

    public String getAppId() {
        return appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getEncodingAESKey() {
        return encodingAESKey;
    }

    public String getAccessTokenFile() {
        return accessTokenFile;
    }

    public void setAccessTokenFile(String accessTokenFile) {
        this.accessTokenFile = accessTokenFile;
    }
}
